# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Max Meyer <dev@fedux.org>

pkgname=pacparser
pkgver=1.4.1
pkgrel=1
pkgdesc="Library to parse proxy auto-config (PAC) files"
arch=(loong64 x86_64)
url="https://github.com/pacparser/pacparser"
license=('LGPL')
source=("https://github.com/pacparser/pacparser/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('dabca2fb9f9c1605a24ee600ef8fc33098b37c900f43cceface390e534646797ca4bf327a96f61034260bbf19a4b2613e8a05c534fef57b0f5bc4cb534338cf1')

build() {
  cd $pkgname-$pkgver
  make all -C src
}

package() {
  cd $pkgname-$pkgver
  make -C src DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et:
